/* 
 * File:   Ardunio.h
 * Author: kibalo
 *
 * Created on October 8, 2012, 6:46 PM
 */

#ifndef ARDUNIO_H
#define	ARDUNIO_H


//specfic defines for current MicroStick II PIC32MX250F128B
#define SYS_CLK 		(8000000L) //8 Mhz internal fast oscillator
#define PB_DIV 1
#define PRESCALE 1
#define REALCLK SYS_CLK/PB_DIV/PRESCALE
#define COUNT1MS 1000
//Ardunio Library defines
#define  HIGH   1
#define  LOW    0
#define INPUT   1
#define OUTPUT 0
//Current Ardunio Library
void delay( unsigned t);
void pinMode( int pin, int mode);
void digitalWrite(int pin, int value);

#endif	/* ARDUNIO_H */

